package com.whnk.attendance.vo;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 项目分类列查询对象
 *
 * @author whnk
 * @date 2021-12-14
 */
public class ProjectClassifyInfoUpdateVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 逻辑主键 */
    @ApiModelProperty(value = "逻辑主键",required = false)
    private Long proClaId;

    /**
     * 项目分类编号
     */
    @NotBlank(message = "项目分类编号不能为空")
    @ApiModelProperty(value = "项目分类编号",required = true)
    private String proClaNum;

    /**
     * 项目分类名称
     */
    @NotBlank(message = "项目分类名称不能为空")
    @ApiModelProperty(value = "项目分类名称",required = true)
    private String proClaName;

    /**
     * 交付区域编号
     */
    @NotBlank(message = "交付区域编号不能为空")
    @ApiModelProperty(value = "交付区域编号",required = true)
    private String areaId;

    /**
     * 社保分类编号
     */
    @NotBlank(message = "社保分类编号不能为空")
    @ApiModelProperty(value = "社保分类编号",required = true)
    private String socialInsNum;

    /**
     * 公摊系数
     */
    @ApiModelProperty(value = "公摊系数",required = false)
    private BigDecimal publicCost;

    public void setProClaId(Long proClaId) { this.proClaId = proClaId; }

    public Long getProClaId() { return proClaId; }

    public void setProClaNum(String proClaNum) {
        this.proClaNum = proClaNum;
    }

    public String getProClaNum() {
        return proClaNum;
    }

    public void setProClaName(String proClaName) {
        this.proClaName = proClaName;
    }

    public String getProClaName() {
        return proClaName;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setSocialInsNum(String socialInsNum) {
        this.socialInsNum = socialInsNum;
    }

    public String getSocialInsNum() {
        return socialInsNum;
    }

    public BigDecimal getPublicCost() {
        return publicCost;
    }

    public void setPublicCost(BigDecimal publicCost) {
        this.publicCost = publicCost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("proClaNum", getProClaNum())
                .append("proClaName", getProClaName())
                .append("areaId", getAreaId())
                .append("socialInsNum", getSocialInsNum())
                .append("publicCost", getPublicCost())
                .toString();
    }
}
